package com.kai.mqtt.message;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author weijk
 * @since 2024/6/10
 */
@Data
@Accessors(chain = true)
public class RetainMessage {

    /**
     * 主题
     */
    private String topic;

    /**
     * qos
     */
    private Integer qos;

    /**
     * 客户端 id
     */
    private String clientId;

    /**
     * 消息内容
     */
    private byte[] messageBytes;
}
